package com.gzc.pm.dao;

import java.util.List;

import com.gzc.pm.bean.ProcessRouteBean;
import cn.skyclass.ibatis.IBatisDao;

public class ProcessRouteDao {

	private IBatisDao dao = new IBatisDao();
	
	@SuppressWarnings("unchecked")
	public List<ProcessRouteBean> getAll(){
		return dao.getList("ProcessRoute.getAll", null);
	}
	
	@SuppressWarnings("unchecked")
	public List<ProcessRouteBean> getInfoByPlId(int plId){
		return dao.getList("ProcessRoute.getInfoByPlId", plId);
	}
	
}
